package com.sunyard.utils.tianan;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @description: tianan签名信息
 * @author: DUANYUBIN
 * @create: 2021-03-11 21:12
 **/
@Data
@ApiModel(value = "签名信息")
public class TianAnSign implements Serializable {

    @ApiModelProperty(hidden = true)
    private static final long serialVersionUID = -4231101063553687368L;

    /**
     * dn 证书
     */
    @ApiModelProperty(value = "dn 证书")
    @NotBlank(message = "dn证书不能为空")
    private String dn;
    /**
     * 签名内容
     */
    @ApiModelProperty(value = "签名内容")
    private String sign;

    /**
     * 签名内容
     */
    @ApiModelProperty(value = "签名内容")
    private byte[] msg;
}
